package cn.iocoder.yudao.module.eval.controller.admin.announcement.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;

@Schema(description = "管理后台 - 自动生成成绩公告 Request VO")
@Data
public class EvalScoreAnnouncementGenerateReqVO {

    @Schema(description = "公告标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024年第一批电工技能等级认定成绩公示")
    @NotBlank(message = "公告标题不能为空")
    private String title;

    @Schema(description = "公示开始日期", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-04-10")
    @NotNull(message = "公示开始日期不能为空")
    private LocalDate publicityStartDate;

    @Schema(description = "公示结束日期", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-04-17")
    @NotNull(message = "公示结束日期不能为空")
    private LocalDate publicityEndDate;

    @Schema(description = "公示天数", example = "7")
    private Integer publicityDays;

    @Schema(description = "异议联系人", example = "张经理")
    private String objectionContact;

    @Schema(description = "异议联系电话", example = "13800138000")
    private String objectionPhone;

    @Schema(description = "异议联系邮箱", example = "objection@company.com")
    private String objectionEmail;

}
